Validation of Audio Calibration Using Multi-Dimensional Motion Check

ABSTRACT

Examples described herein involve validating motion of a microphone during calibration of a playback device. An example implementation involves receiving motion data indicating movement of a recording device while the recording device was recording a calibration sound emitted by one or more playback devices in a given environment during a calibration period. The example implementation also involves determining that sufficient vertical translation of the recording device occurred during the calibration period. The example implementation further involves determining that sufficient horizontal translation of the recording device occurred during the calibration period. The implementation involves sending, by the computing device to one or more playback devices, a message indicating that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority to U.S. provisional Patent Application No. 62/220,176, filed on Sep. 17, 2015, entitled “Validation of Audio Calibration Using Multi-Dimensional Motion Check,” which is incorporated herein by reference in its entirety.

FIELD OF THE DISCLOSURE

The disclosure is related to consumer goods and, more particularly, to methods, systems, products, features, services, and other elements directed to media playback or some aspect thereof.

BACKGROUND

Options for accessing and listening to digital audio in an out-loud setting were limited until in 2003, when SONOS, Inc. filed for one of its first patent applications, entitled “Method for Synchronizing Audio Playback between Multiple Networked Devices,” and began offering a media playback system for sale in 2005. The Sonos Wireless HiFi System enables people to experience music from a plethora of sources via one or more networked playback devices. Through a software control application installed on a smartphone, tablet, or computer, one can play what he or she wants in any room that has a networked playback device. Additionally, using the controller, for example, different songs can be streamed to each room with a playback device, rooms can be grouped together for synchronous playback, or the same song can be heard in all rooms synchronously.

Given the ever growing interest in digital media, there continues to be a need to develop consumer-accessible technologies to further enhance the listening experience.

BRIEF DESCRIPTION OF THE DRAWINGS

Features, aspects, and advantages of the presently disclosed technology may be better understood with regard to the following description, appended claims, and accompanying drawings where:

FIG. 1 shows an example media playback system configuration in which certain embodiments may be practiced;

FIG. 2 shows a functional block diagram of an example playback device;

FIG. 3 shows a functional block diagram of an example control device;

FIG. 4 shows an example controller interface;

FIG. 5 shows a flow diagram of an example method for identifying error conditions;

FIG. 6 shows an illustrative playback device calibration user interface;

FIG. 7 shows an illustrative playback device calibration error condition user interface;

FIG. 8 shows a flow diagram of an example technique for validating motion of a microphone during calibration;

FIG. 9 illustrates example motion of a device through a listening area;

FIGS. 10A and 10B illustrate example motion data;

FIG. 11 shows a frame illustrating an iteration of an example periodic calibration sound;

FIG. 12 shows a series of frames illustrating iterations of an example periodic calibration sound;

FIG. 13A illustrates relatively closely correlated motion data in two directions;

FIG. 13B illustrates relatively loosely correlated motion data in two directions;

FIG. 14 shows an illustrative playback device calibration user interface; and

FIG. 15 shows another illustrative playback device calibration user interface.

The drawings are for the purpose of illustrating example embodiments, but it is understood that the inventions are not limited to the arrangements and instrumentality shown in the drawings.

DETAILED DESCRIPTION I. Overview

Embodiments described herein may involve, inter alia, detecting one or more error conditions that might occur when calibrating one or more playback devices of a media playback system. Calibration of playback devices may improve performance of those playback devices in a given environment, as the calibration may address acoustical characteristics of the environment. Acoustics can vary by environment—some environments may negatively affect sound transmission by boosting or cutting certain frequencies across the frequency response of the playback device. For instance, while a symphony hall may have near-perfect acoustics so as to not substantially affect sound as it propagates; many homes or offices do not provide such ideal conditions for sound transmission.

Some calibration procedures contemplated herein involve a recording device detecting and analyzing sound waves (e.g., one or more calibration sounds) emitted by one or more playback devices in a given listening environment. By analyzing sound waves that have propagated through the listening environment, a media playback system may determine how the listening environment is affecting sound emitted by the playback device and perhaps also how to offset the effect of the listening environment on the playback device. For example, the media playback system may determine a calibration profile that adjusts the frequency response of a playback device to offset the acoustics of the environment.

Possible error conditions that might occur during calibration include insufficient motion of the recording device through the listening environment while the one or more playback devices emit the calibration sound. Since acoustics can vary from physical location to physical location within the listening environment, example calibration procedures contemplated herein may suggest moving the recording device through the listening environment while the one or more playback devices emit the calibration sound. In some examples, the calibration sound may include periodic repetitions of a calibration tone, which may produce “samples” representing the acoustics of the environment at respective locations. Such data produced by a moving microphone may provide a more complete representation of an environment's acoustics than would a stationary microphone. Other example error conditions include a background noise level, a quality of the audio signal detected by the microphone, distance between the one or more playback devices and the recording device, or speed of the recording device, among other possibilities.

During calibration, the recording device may determine whether sufficient translation occurred in one or more dimensions (e.g., vertical, horizontal, and/or radial (relative to the playback device(s)). A calibration in which the recording device was sufficiently translated in such dimensions may be considered valid (perhaps given that other error conditions were not present). Conversely, a lack of sufficient translation in one or more of these dimensions may be considered invalid. In circumstances in which one or more error conditions are detected, the media playback system may prompt to repeat the calibration, or may attempt to remedy the calibration, depending on the type of error condition.

Data indicating motion of the recording device (or of the microphone itself, in embodiments where the microphone is separate from the recording device) may be generated from different sources. In some embodiments, sensors on the recording device (or on the microphone and coupled to the recording device) may generate data indicating acceleration of the recording device. Cameras or other types of vision-based systems on the recording device or playback device may produce video data indicating movement of the recording device through the environment. As another example, acoustic data may indicate radial distance from the recording device to the playback device (e.g., by indicating propagation delay of audio from the playback device to the recording device, or vice versa).

In some cases, motion data indicating movement of the recording device in two dimensions can be used to determine motion of the recording device in a third dimension. For instance, a sensor may generate motion data indicating movement of the recording device in a vertical direction (perhaps from an accelerometer that generates data relative to gravity) and acoustic data may indicate movement of the recording device in a radial direction from the playback device. By cross-correlating such data, a media playback system may determine a horizontal motion parameter representing motion of the recording device in a third dimension (i.e., horizontal motion). Where that horizontal motion parameter exceeds a correlation threshold (indicating that the motion in the first two dimensions are not well-correlated), the media playback system can infer that sufficient horizontal translation across the environment occurred during the calibration period.

Upon identifying an error condition, the calibration process may be suspended, and the media playback system may display a message indicating that the calibration process has been suspended. In some cases, the media playback system may indicate the identified error condition that triggered the suspension of the calibration process. The media playback system may further indicate suggestions on how to remedy the identified error condition. For instance, the message may indicate that insufficient vertical translation occurred, and that this error condition can be avoided by moving the recording device by a greater amount or during a longer portion of the calibration period. The media playback system may further display selectable options to restart the calibration process or to cancel the calibration process. Other examples are also possible.

As indicated above, the present discussions involve identifying one or more error conditions during calibration of one or more playback devices. In one aspect, a recording device is provided. The recording device includes a microphone, one or more processors, and a tangible data storage having stored therein instructions executable by the one or more processors to cause the recording device to perform operations. The operations include receiving an indication that a playback device is emitting a calibration sound in a given environment during a calibration period. The operations also include recording, via the microphone, sound data that includes the emitted calibration sound and receiving motion data indicating movement of the recording device during emission of the calibration sound. The operations further include determining that sufficient vertical translation of the recording device occurred during the calibration period. The operations include determining that sufficient horizontal translation of the recording device occurred during the calibration period and based on determining that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions, applying a calibration based on the detected calibration sound to an audio stage of the playback device.

In another aspect, a method is provided. The method involves receiving an indication that one or more playback devices are emitting a calibration sound in a given environment during a calibration period. The method also involves recording the emitted calibration sound and receiving motion data indicating movement of the control device during emission of the calibration sound. The method further involves identifying a first component of the motion data that indicates movement of the control device in a vertical direction and one or more second components of the motion data that indicates movement of the control device in respective radial directions from the one or more playback devices. The method also involves determining one or more horizontal-motion parameters representing motion of the control device in a horizontal direction through the environment by cross-correlating the first component of the motion data indicating movement of the control device in a vertical direction with the one or more second components of the motion data indicating movement of the control device in respective radial directions from the one or more playback devices. The method involves determining that sufficient horizontal translation of the control device occurred during the calibration period by determining that at least one of the horizontal motion parameters representing motion in the horizontal direction through the environment exceeds a correlation threshold. The method also involves sending a message indicating that sufficient translation of the control device occurred during the calibration period.

In another aspect, a non-transitory computer-readable medium is provided. The non-transitory computer-readable medium has stored thereon instructions executable by a computing device to perform operations. The operations include receiving an indication that a playback device is emitting a calibration sound in a given environment during a calibration period. The operations also include recording, via the microphone, sound data that includes the emitted calibration sound and receiving motion data indicating movement of the recording device during emission of the calibration sound. The operations further include determining that sufficient vertical translation of the recording device occurred during the calibration period. The operations include determining that sufficient horizontal translation of the recording device occurred during the calibration period and based on determining that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions, applying a calibration based on the detected calibration sound to an audio stage of the playback device.

In yet another aspect, a control device is provided. The control device includes one or more processors, and a tangible data storage having stored therein instructions executable by the one or more processors to cause the recording device to perform operations. The operations include receiving motion data indicating movement of a recording device while the recording device was recording a calibration sound emitted by one or more playback devices in a given environment during a calibration period. The operations also include determining that sufficient vertical translation of the recording device occurred during the calibration period and that sufficient horizontal translation of the recording device occurred during the calibration period. The operations further include sending a message indicating that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions.

In an aspect, a method is provided. The method involves receiving motion data indicating movement of a recording device while the recording device was recording a calibration sound emitted by one or more playback devices in a given environment during a calibration period. The method also involves determining that sufficient vertical translation of the recording device occurred during the calibration period and that sufficient horizontal translation of the recording device occurred during the calibration period. The method further involves sending a message indicating that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions.

In another aspect, a non-transitory computer-readable medium is provided. The non-transitory computer-readable medium has stored thereon instructions executable by a computing device to perform operations. The operations include receiving motion data indicating movement of a recording device while the recording device was recording a calibration sound emitted by one or more playback devices in a given environment during a calibration period. The operations also include determining that sufficient vertical translation of the recording device occurred during the calibration period and that sufficient horizontal translation of the recording device occurred during the calibration period. The operations further include sending a message indicating that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions.

While some examples described herein may refer to functions performed by given actors such as “users” and/or other entities, it should be understood that this is for purposes of explanation only. The claims should not be interpreted to require action by any such example actor unless explicitly required by the language of the claims themselves. It will be understood by one of ordinary skill in the art that this disclosure includes numerous other embodiments.

II. Example Operating Environment

FIG. 1 shows an example configuration of a media playback system 100 in which one or more embodiments disclosed herein may be practiced or implemented. The media playback system 100 as shown is associated with an example home environment having several rooms and spaces, such as for example, a master bedroom, an office, a dining room, and a living room. As shown in the example of FIG. 1, the media playback system 100 includes playback devices 102-124, control devices 126 and 128, and a wired or wireless network router 130.

Further discussions relating to the different components of the example media playback system 100 and how the different components may interact to provide a user with a media experience may be found in the following sections. While discussions herein may generally refer to the example media playback system 100, technologies described herein are not limited to applications within, among other things, the home environment as shown in FIG. 1. For instance, the technologies described herein may be useful in environments where multi-zone audio may be desired, such as, for example, a commercial setting like a restaurant, mall or airport, a vehicle like a sports utility vehicle (SUV), bus or car, a ship or boat, an airplane, and so on.

a. Example Playback Devices

FIG. 2 shows a functional block diagram of an example playback device 200 that may be configured to be one or more of the playback devices 102-124 of the media playback system 100 of FIG. 1. The playback device 200 may include a processor 202, software components 204, memory 206, audio processing components 208, audio amplifier(s) 210, speaker(s) 212, microphone(s) 220, and a network interface 214 including wireless interface(s) 216 and wired interface(s) 218. In one case, the playback device 200 may not include the speaker(s) 212, but rather a speaker interface for connecting the playback device 200 to external speakers. In another case, the playback device 200 may include neither the speaker(s) 212 nor the audio amplifier(s) 210, but rather an audio interface for connecting the playback device 200 to an external audio amplifier or audio-visual receiver.

In one example, the processor 202 may be a clock-driven computing component configured to process input data according to instructions stored in the memory 206. The memory 206 may be a tangible computer-readable medium configured to store instructions executable by the processor 202. For instance, the memory 206 may be data storage that can be loaded with one or more of the software components 204 executable by the processor 202 to achieve certain functions. In one example, the functions may involve the playback device 200 retrieving audio data from an audio source or another playback device. In another example, the functions may involve the playback device 200 sending audio data to another device or playback device on a network. In yet another example, the functions may involve pairing of the playback device 200 with one or more playback devices to create a multi-channel audio environment.

Certain functions may involve the playback device 200 synchronizing playback of audio content with one or more other playback devices. During synchronous playback, a listener will preferably not be able to perceive time-delay differences between playback of the audio content by the playback device 200 and the one or more other playback devices. U.S. Pat. No. 8,234,395 entitled, “System and method for synchronizing operations among a plurality of independently clocked digital data processing devices,” which is hereby incorporated by reference, provides in more detail some examples for audio playback synchronization among playback devices.

The memory 206 may further be configured to store data associated with the playback device 200, such as one or more zones and/or zone groups the playback device 200 is a part of, audio sources accessible by the playback device 200, or a playback queue that the playback device 200 (or some other playback device) may be associated with. The data may be stored as one or more state variables that are periodically updated and used to describe the state of the playback device 200. The memory 206 may also include the data associated with the state of the other devices of the media system, and shared from time to time among the devices so that one or more of the devices have the most recent data associated with the system. Other embodiments are also possible.

The audio processing components 208 may include one or more of digital-to-analog converters (DAC), analog-to-digital converters (ADC), audio preprocessing components, audio enhancement components, and a digital signal processor (DSP), among others. In one embodiment, one or more of the audio processing components 208 may be a subcomponent of the processor 202. In one example, audio content may be processed and/or intentionally altered by the audio processing components 208 to produce audio signals. The produced audio signals may then be provided to the audio amplifier(s) 210 for amplification and playback through speaker(s) 212. Particularly, the audio amplifier(s) 210 may include devices configured to amplify audio signals to a level for driving one or more of the speakers 212. The speaker(s) 212 may include an individual transducer (e.g., a “driver”) or a complete speaker system involving an enclosure with one or more drivers. A particular driver of the speaker(s) 212 may include, for example, a subwoofer (e.g., for low frequencies), a mid-range driver (e.g., for middle frequencies), and/or a tweeter (e.g., for high frequencies). In some cases, each transducer in the one or more speakers 212 may be driven by an individual corresponding audio amplifier of the audio amplifier(s) 210. In addition to producing analog signals for playback by the playback device 200, the audio processing components 208 may be configured to process audio content to be sent to one or more other playback devices for playback.

Audio content to be processed and/or played back by the playback device 200 may be received from an external source, such as via an audio line-in input connection (e.g., an auto-detecting 3.5 mm audio line-in connection) or the network interface 214.

The microphone(s) 220 may include an audio sensor configured to convert detected sounds into electrical signals. The electrical signal may be processed by the audio processing components 208 and/or the processor 202. The microphone(s) 220 may be positioned in one or more orientations at one or more locations on the playback device 200. The microphone(s) 220 may be configured to detect sound within one or more frequency ranges. In one case, one or more of the microphone(s) 220 may be configured to detect sound within a frequency range of audio that the playback device 200 is capable or rendering. In another case, one or more of the microphone(s) 220 may be configured to detect sound within a frequency range audible to humans. Other examples are also possible.

The network interface 214 may be configured to facilitate a data flow between the playback device 200 and one or more other devices on a data network. As such, the playback device 200 may be configured to receive audio content over the data network from one or more other playback devices in communication with the playback device 200, network devices within a local area network, or audio content sources over a wide area network such as the Internet. In one example, the audio content and other signals transmitted and received by the playback device 200 may be transmitted in the form of digital packet data containing an Internet Protocol (IP)-based source address and IP-based destination addresses. In such a case, the network interface 214 may be configured to parse the digital packet data such that the data destined for the playback device 200 is properly received and processed by the playback device 200.

As shown, the network interface 214 may include wireless interface(s) 216 and wired interface(s) 218. The wireless interface(s) 216 may provide network interface functions for the playback device 200 to wirelessly communicate with other devices (e.g., other playback device(s), speaker(s), receiver(s), network device(s), control device(s) within a data network the playback device 200 is associated with) in accordance with a communication protocol (e.g., any wireless standard including IEEE 802.11a, 802.11b, 802.11g, 802.11n, 802.11 ac, 802.15, 4G mobile communication standard, and so on). The wired interface(s) 218 may provide network interface functions for the playback device 200 to communicate over a wired connection with other devices in accordance with a communication protocol (e.g., IEEE 802.3). While the network interface 214 shown in FIG. 2 includes both wireless interface(s) 216 and wired interface(s) 218, the network interface 214 may in some embodiments include only wireless interface(s) or only wired interface(s).

In one example, the playback device 200 and one other playback device may be paired to play two separate audio components of audio content. For instance, playback device 200 may be configured to play a left channel audio component, while the other playback device may be configured to play a right channel audio component, thereby producing or enhancing a stereo effect of the audio content. The paired playback devices (also referred to as “bonded playback devices”) may further play audio content in synchrony with other playback devices.

In another example, the playback device 200 may be sonically consolidated with one or more other playback devices to form a single, consolidated playback device. A consolidated playback device may be configured to process and reproduce sound differently than an unconsolidated playback device or playback devices that are paired, because a consolidated playback device may have additional speaker drivers through which audio content may be rendered. For instance, if the playback device 200 is a playback device designed to render low frequency range audio content (i.e. a subwoofer), the playback device 200 may be consolidated with a playback device designed to render full frequency range audio content. In such a case, the full frequency range playback device, when consolidated with the low frequency playback device 200, may be configured to render only the mid and high frequency components of audio content, while the low frequency range playback device 200 renders the low frequency component of the audio content. The consolidated playback device may further be paired with a single playback device or yet another consolidated playback device.

By way of illustration, SONOS, Inc. presently offers (or has offered) for sale certain playback devices including a “PLAY:1,” “PLAY:3,” “PLAY:5,” “PLAYBAR,” “CONNECT:AMP,” “CONNECT,” and “SUB.” Any other past, present, and/or future playback devices may additionally or alternatively be used to implement the playback devices of example embodiments disclosed herein. Additionally, it is understood that a playback device is not limited to the example illustrated in FIG. 2 or to the SONOS product offerings. For example, a playback device may include a wired or wireless headphone. In another example, a playback device may include or interact with a docking station for personal mobile media playback devices. In yet another example, a playback device may be integral to another device or component such as a television, a lighting fixture, or some other device for indoor or outdoor use.

b. Example Playback Zone Configurations

Referring back to the media playback system 100 of FIG. 1, the environment may have one or more playback zones, each with one or more playback devices. The media playback system 100 may be established with one or more playback zones, after which one or more zones may be added, or removed to arrive at the example configuration shown in FIG. 1. Each zone may be given a name according to a different room or space such as an office, bathroom, master bedroom, bedroom, kitchen, dining room, living room, and/or balcony. In one case, a single playback zone may include multiple rooms or spaces. In another case, a single room or space may include multiple playback zones.

As shown in FIG. 1, the balcony, dining room, kitchen, bathroom, office, and bedroom zones each have one playback device, while the living room and master bedroom zones each have multiple playback devices. In the living room zone, playback devices 104, 106, 108, and 110 may be configured to play audio content in synchrony as individual playback devices, as one or more bonded playback devices, as one or more consolidated playback devices, or any combination thereof. Similarly, in the case of the master bedroom, playback devices 122 and 124 may be configured to play audio content in synchrony as individual playback devices, as a bonded playback device, or as a consolidated playback device.

In one example, one or more playback zones in the environment of FIG. 1 may each be playing different audio content. For instance, the user may be grilling in the balcony zone and listening to hip hop music being played by the playback device 102 while another user may be preparing food in the kitchen zone and listening to classical music being played by the playback device 114. In another example, a playback zone may play the same audio content in synchrony with another playback zone. For instance, the user may be in the office zone where the playback device 118 is playing the same rock music that is being playing by playback device 102 in the balcony zone. In such a case, playback devices 102 and 118 may be playing the rock music in synchrony such that the user may seamlessly (or at least substantially seamlessly) enjoy the audio content that is being played out-loud while moving between different playback zones. Synchronization among playback zones may be achieved in a manner similar to that of synchronization among playback devices, as described in previously referenced U.S. Pat. No. 8,234,395.

As suggested above, the zone configurations of the media playback system 100 may be dynamically modified, and in some embodiments, the media playback system 100 supports numerous configurations. For instance, if a user physically moves one or more playback devices to or from a zone, the media playback system 100 may be reconfigured to accommodate the change(s). For instance, if the user physically moves the playback device 102 from the balcony zone to the office zone, the office zone may now include both the playback device 118 and the playback device 102. The playback device 102 may be paired or grouped with the office zone and/or renamed if so desired via a control device such as the control devices 126 and 128. On the other hand, if the one or more playback devices are moved to a particular area in the home environment that is not already a playback zone, a new playback zone may be created for the particular area.

Further, different playback zones of the media playback system 100 may be dynamically combined into zone groups or split up into individual playback zones. For instance, the dining room zone and the kitchen zone 114 may be combined into a zone group for a dinner party such that playback devices 112 and 114 may render audio content in synchrony. On the other hand, the living room zone may be split into a television zone including playback device 104, and a listening zone including playback devices 106, 108, and 110, if the user wishes to listen to music in the living room space while another user wishes to watch television.

c. Example Control Devices

FIG. 3 shows a functional block diagram of an example control device 300 that may be configured to be one or both of the control devices 126 and 128 of the media playback system 100. As shown, the control device 300 may include a processor 302, memory 304, a network interface 306, a user interface 308, and microphone(s) 310. In one example, the control device 300 may be a dedicated controller for the media playback system 100. In another example, the control device 300 may be a network device on which media playback system controller application software may be installed, such as for example, an iPhone™, iPad™ or any other smart phone, tablet or network device (e.g., a networked computer such as a PC or Mac™).

The processor 302 may be configured to perform functions relevant to facilitating user access, control, and configuration of the media playback system 100. The memory 304 may be configured to store instructions executable by the processor 302 to perform those functions. The memory 304 may also be configured to store the media playback system controller application software and other data associated with the media playback system 100 and the user.

The microphone(s) 310 may include an audio sensor configured to convert detected sounds into electrical signals. The electrical signal may be processed by the processor 302. In one case, if the control device 300 is a device that may also be used as a means for voice communication or voice recording, one or more of the microphone(s) 310 may be a microphone for facilitating those functions. For instance, the one or more of the microphone(s) 310 may be configured to detect sound within a frequency range that a human is capable of producing and/or a frequency range audible to humans. Other examples are also possible.

In one example, the network interface 306 may be based on an industry standard (e.g., infrared, radio, wired standards including IEEE 802.3, wireless standards including IEEE 802.11a, 802.11b, 802.11g, 802.11n, 802.11ac, 802.15, 4G mobile communication standard, and so on). The network interface 306 may provide a means for the control device 300 to communicate with other devices in the media playback system 100. In one example, data and information (e.g., such as a state variable) may be communicated between control device 300 and other devices via the network interface 306. For instance, playback zone and zone group configurations in the media playback system 100 may be received by the control device 300 from a playback device or another network device, or transmitted by the control device 300 to another playback device or network device via the network interface 306. In some cases, the other network device may be another control device.

Playback device control commands such as volume control and audio playback control may also be communicated from the control device 300 to a playback device via the network interface 306. As suggested above, changes to configurations of the media playback system 100 may also be performed by a user using the control device 300. The configuration changes may include adding/removing one or more playback devices to/from a zone, adding/removing one or more zones to/from a zone group, forming a bonded or consolidated player, separating one or more playback devices from a bonded or consolidated player, among others. Accordingly, the control device 300 may sometimes be referred to as a controller, whether the control device 300 is a dedicated controller or a network device on which media playback system controller application software is installed.

The user interface 308 of the control device 300 may be configured to facilitate user access and control of the media playback system 100, by providing a controller interface such as the controller interface 400 shown in FIG. 4. The controller interface 400 includes a playback control region 410, a playback zone region 420, a playback status region 430, a playback queue region 440, and an audio content sources region 450. The user interface 400 as shown is just one example of a user interface that may be provided on a network device such as the control device 300 of FIG. 3 (and/or the control devices 126 and 128 of FIG. 1) and accessed by users to control a media playback system such as the media playback system 100. Other user interfaces of varying formats, styles, and interactive sequences may alternatively be implemented on one or more network devices to provide comparable control access to a media playback system.

The playback control region 410 may include selectable (e.g., by way of touch or by using a cursor) icons to cause playback devices in a selected playback zone or zone group to play or pause, fast forward, rewind, skip to next, skip to previous, enter/exit shuffle mode, enter/exit repeat mode, enter/exit cross fade mode. The playback control region 410 may also include selectable icons to modify equalization settings, and playback volume, among other possibilities.

The playback zone region 420 may include representations of playback zones within the media playback system 100. In some embodiments, the graphical representations of playback zones may be selectable to bring up additional selectable icons to manage or configure the playback zones in the media playback system, such as a creation of bonded zones, creation of zone groups, separation of zone groups, and renaming of zone groups, among other possibilities.

For example, as shown, a “group” icon may be provided within each of the graphical representations of playback zones. The “group” icon provided within a graphical representation of a particular zone may be selectable to bring up options to select one or more other zones in the media playback system to be grouped with the particular zone. Once grouped, playback devices in the zones that have been grouped with the particular zone will be configured to play audio content in synchrony with the playback device(s) in the particular zone. Analogously, a “group” icon may be provided within a graphical representation of a zone group. In this case, the “group” icon may be selectable to bring up options to deselect one or more zones in the zone group to be removed from the zone group. Other interactions and implementations for grouping and ungrouping zones via a user interface such as the user interface 400 are also possible. The representations of playback zones in the playback zone region 420 may be dynamically updated as playback zone or zone group configurations are modified.

The playback status region 430 may include graphical representations of audio content that is presently being played, previously played, or scheduled to play next in the selected playback zone or zone group. The selected playback zone or zone group may be visually distinguished on the user interface, such as within the playback zone region 420 and/or the playback status region 430. The graphical representations may include track title, artist name, album name, album year, track length, and other relevant information that may be useful for the user to know when controlling the media playback system via the user interface 400.

The playback queue region 440 may include graphical representations of audio content in a playback queue associated with the selected playback zone or zone group. In some embodiments, each playback zone or zone group may be associated with a playback queue containing information corresponding to zero or more audio items for playback by the playback zone or zone group. For instance, each audio item in the playback queue may comprise a uniform resource identifier (URI), a uniform resource locator (URL) or some other identifier that may be used by a playback device in the playback zone or zone group to find and/or retrieve the audio item from a local audio content source or a networked audio content source, possibly for playback by the playback device.

In one example, a playlist may be added to a playback queue, in which case information corresponding to each audio item in the playlist may be added to the playback queue. In another example, audio items in a playback queue may be saved as a playlist. In a further example, a playback queue may be empty, or populated but “not in use” when the playback zone or zone group is playing continuously streaming audio content, such as Internet radio that may continue to play until otherwise stopped, rather than discrete audio items that have playback durations. In an alternative embodiment, a playback queue can include Internet radio and/or other streaming audio content items and be “in use” when the playback zone or zone group is playing those items. Other examples are also possible.

When playback zones or zone groups are “grouped” or “ungrouped,” playback queues associated with the effected playback zones or zone groups may be cleared or re-associated. For example, if a first playback zone including a first playback queue is grouped with a second playback zone including a second playback queue, the established zone group may have an associated playback queue that is initially empty, that contains audio items from the first playback queue (such as if the second playback zone was added to the first playback zone), that contains audio items from the second playback queue (such as if the first playback zone was added to the second playback zone), or a combination of audio items from both the first and second playback queues. Subsequently, if the established zone group is ungrouped, the resulting first playback zone may be re-associated with the previous first playback queue, or be associated with a new playback queue that is empty or contains audio items from the playback queue associated with the established zone group before the established zone group was ungrouped. Similarly, the resulting second playback zone may be re-associated with the previous second playback queue, or be associated with a new playback queue that is empty, or contains audio items from the playback queue associated with the established zone group before the established zone group was ungrouped. Other examples are also possible.

Referring back to the user interface 400 of FIG. 4, the graphical representations of audio content in the playback queue region 440 may include track titles, artist names, track lengths, and other relevant information associated with the audio content in the playback queue. In one example, graphical representations of audio content may be selectable to bring up additional selectable icons to manage and/or manipulate the playback queue and/or audio content represented in the playback queue. For instance, a represented audio content may be removed from the playback queue, moved to a different position within the playback queue, or selected to be played immediately, or after any currently playing audio content, among other possibilities. A playback queue associated with a playback zone or zone group may be stored in a memory on one or more playback devices in the playback zone or zone group, on a playback device that is not in the playback zone or zone group, and/or some other designated device.

The audio content sources region 450 may include graphical representations of selectable audio content sources from which audio content may be retrieved and played by the selected playback zone or zone group. Discussions pertaining to audio content sources may be found in the following section.

d. Example Audio Content Sources

As indicated previously, one or more playback devices in a zone or zone group may be configured to retrieve for playback audio content (e.g. according to a corresponding URI or URL for the audio content) from a variety of available audio content sources. In one example, audio content may be retrieved by a playback device directly from a corresponding audio content source (e.g., a line-in connection). In another example, audio content may be provided to a playback device over a network via one or more other playback devices or network devices.

Example audio content sources may include a memory of one or more playback devices in a media playback system such as the media playback system 100 of FIG. 1, local music libraries on one or more network devices (such as a control device, a network-enabled personal computer, or a networked-attached storage (NAS), for example), streaming audio services providing audio content via the Internet (e.g., the cloud), or audio sources connected to the media playback system via a line-in input connection on a playback device or network devise, among other possibilities.

In some embodiments, audio content sources may be regularly added or removed from a media playback system such as the media playback system 100 of FIG. 1. In one example, an indexing of audio items may be performed whenever one or more audio content sources are added, removed or updated. Indexing of audio items may involve scanning for identifiable audio items in all folders/directory shared over a network accessible by playback devices in the media playback system, and generating or updating an audio content database containing metadata (e.g., title, artist, album, track length, among others) and other associated information, such as a URI or URL for each identifiable audio item found. Other examples for managing and maintaining audio content sources may also be possible.

The above discussions relating to playback devices, control devices, playback zone configurations, and media item sources provide only some examples of operating environments within which functions and methods described below may be implemented. Other operating environments and configurations of media playback systems, playback devices, and network devices not explicitly described herein may also be applicable and suitable for implementation of the functions and methods.

III. Example Playback Device Calibration

As previously discussed, one or more playback devices, such as one or more of the playback devices 102-124 of FIG. 1, may be configured to provide a particular audio experience, and may be calibrated to provide that audio experience regardless of position(s) of the one or more playback devices within the playback environment. As noted above, example calibration procedures contemplated herein may involve a microphone of a recording device detecting and analyzing sound waves (e.g., one or more calibration sounds) emitted by the playback device(s) under calibration.

A calibration interface may be provided on a network device to guide a user through the calibration process. Example interfaces are described in U.S. non-provisional patent application Ser. No. 14/696,014, filed on Apr. 24, 2015, entitled “Speaker Calibration,” which is incorporated herein in its entirety. Further example interfaces are described in U.S. non-provisional patent application Ser. No. 14/826,873, filed on Aug. 14, 2015, entitled “Speaker Calibration User Interface,” which is also incorporated herein in its entirety. Alternatively, calibration may be performed automatically between the network device and the playback device(s), and may be conducted with or without interaction by a user of the network device. The network device may be a device the user can use to control the one or more playback devices. For instance, the network device may be similar to the control devices 126 and 128 of FIG. 1, and 300 of FIG. 3. The calibration interface may be a component of a controller interface, such as the controller interface 400 of FIG. 4 that is provided on the network device for controlling the one or more playback devices.

Once the one or more playback devices have been positioned within the playback environment, the calibration interface may cause the one or more playback devices to play a calibration tone. Particular calibration tones may facilitate example calibration procedures contemplated here. Example calibration tones are described in U.S. non-provisional patent application Ser. No. 14/805,140, filed on Jul. 21, 2015, entitled “Hybrid Test Tone for Space-Averaged Room Audio Calibration Using A Moving Microphone,” which is incorporated herein in its entirety.

The network device may be positioned so as to receive the audio data related to the playback of the calibration tone by the one or more playback devices. In one example, the interface may prompt the user to move the network device within the playback environment while the calibration tone is playing. For example, in one more specific case, the interface may instruct the user to traverse areas within the playback environment where enjoyment of audio playback by the one or more playback devices may typically occurs. In another example, the interface may instruct the user to move the network device as close as possible to opposing border regions of the playback environment, such as walls in a room. In one case, the calibration interface may provide a video demonstrating how a user may traverse a playback environment. The video may be shown to the user via the interface before the calibration tone is played or while the calibration tone is playing. Examples of a moving microphone during calibration are described in U.S. non-provisional patent application Ser. No. 14/481,511, filed on Sep. 9, 2014, entitled “Playback Device Calibration,” which is incorporated herein in its entirety.

In some examples, multiple playback devices may be calibrated concurrently. Further, some playback devices may include multiple playback channels (e.g., a tweeter and a woofer, or multiple speakers configured to act as a channel), which may be calibrated concurrently. Example techniques to facilitate calibration of multiple playback channels are described in U.S. non-provisional patent application Ser. No. 14/805,340, filed on Jul. 21, 2015, entitled “Concurrent Multi-Loudspeaker Calibration with a Single Measurement,” which is incorporated herein in its entirety.

In one example, the calibration tone may be played for a predetermined duration of time, and the user may be allocated the predetermined duration of time to traverse the areas in the playback environment. In another example, the amount of time that the calibration tone is played back may be modified based on information sensed by the network device regarding the motion or path of the network device. For instance, if the network device determines that that the network device has started to backtrack across a previously traversed path, the network device may determine that no additional measurement of the calibration tone is necessary and may cause playback of the calibration tone by the one or more playback devices to be terminated.

In a further example, the amount of time that the calibration tone is played back may be modified based on the detected audio signal. For instance, if the network device determines that additional samples of the audio signal detected in the playback environment will not improve the determination of the characterization of the playback environment, the network device may determine that no additional measurement of calibration tone is necessary and may cause playback of the calibration tone by the one or more playback devices to be terminated. Other examples are also possible.

The predetermined duration of time may vary depending on a type and/or size of the playback environment. For instance, prior to causing the one or more playback device to play the calibration tone, the calibration interface may prompt the user to indicate a type and/or a size of the playback environment. Based on the user's input, the interface may identify an appropriate predetermined duration of time to play the calibration tone based on the indicated type and/or size of the playback environment. In one case, the provided demonstration video may also vary based on the indicated type and/or size of the playback environment. In another example, the user may be instructed to move between opposing border areas of the playback environment. The approximate size of the playback environment may be determined based on a detected motion and/or path of the network device, so that the playback time of the calibration tone may be adjusted (extended or shortened) based on the detected motion and/or detected path of motion of the user. For example, if it is detected that the user is still moving the network device, the calibration tone playback may be extended. In another example, if it is detected that the user is moving the device in a direction that indicates that the playback environment is larger than previously assumed and that the user needs more time to properly move the device to cover the entire or a substantial portion of the playback environment, the playback time may be extended.

While the one or more playback devices is playing the calibration tone, a microphone of the network device, such as microphone 310 of the control device 300, may detect an audio signal. A processor of the network device, such as the processor 302 of the control device 300, may receive a stream of audio data from the microphone as the audio signal is detected. The processor may then process the received audio data to determine audio characteristics of the playback environment. For instance, a linear frequency response associated with the playback environment may be determined based on the audio data.

A signal processing algorithm may then be determined based on the audio characteristics. For instance, equalization parameters may be determined such that when the equalization parameters are applied by the one or more playback device when playing audio content, a particular audio experience may be created. In other words, a calibration profile may be applied to a playback device to offset acoustic characteristics of the environment.

IV. Example Techniques for Identifying Playback Device-Calibration Error Conditions

As indicated previously, one or more error conditions may negatively effect the effectiveness of the calibration of the one or more playback devices. In one example, the one or more error conditions may be identified during playback of the calibration tone by the one or more playback device and detecting of the audio signal by the microphone of the network device. In one case, calibration of the one or more playback devices may be suspended and/or terminated as soon as an error condition is identified, rather than after completing playback of the calibration tone and detecting of the audio signal for the entire predetermined duration of time.

FIG. 5 shows a flow diagram of example implementation 500 for identifying playback device-calibration error conditions. Implementation 500 presents example techniques that can be implemented within an operating environment involving, for example, the media playback system 100 of FIG. 1, one or more of the playback device 200 of FIG. 2, and one or more of the control device 300. In one example, the implementation 500 may be performed in whole or in part by a computing device in communication with a media playback system. For instance, the implementation 500 may be performed by one or more of the control devices 126 and 128 of FIG. 1. In such cases, one or more of the control devices 126 and 128 may have installed thereon a software application that includes instructions executable by a processor of a respective control device to cause the respective control device to perform the functions of implementation 500.

Implementation 500 may include one or more operations, functions, or actions as illustrated by one or more of blocks 502-506. Although the respective blocks are illustrated in sequential order, these blocks may also be performed in parallel, and/or in a different order than those described herein. Also, the various blocks may be combined into fewer blocks, divided into additional blocks, and/or removed based upon the desired implementation. In addition, for the implementation 500 and other processes and methods disclosed herein, the flowcharts show functionality and operation of only a few possible implementations of present embodiments. In this regard, each block may represent a module, a segment, or a portion of program code, which includes one or more instructions executable by a processor for implementing specific logical functions or steps in the process. The program code may be stored on any type of computer readable medium, for example, such as a storage device including a disk or hard drive.

The computer readable medium may include non-transitory computer readable medium, for example, such as computer-readable media that stores data for short periods of time like register memory, processor cache and Random Access Memory (RAM). The computer readable medium may also include non-transitory media, such as secondary or persistent long term storage, like read only memory (ROM), optical or magnetic disks, compact-disc read only memory (CD-ROM), for example. The computer readable media may also be any other volatile or non-volatile storage systems. The computer readable medium may be considered a computer readable storage medium, for example, or a tangible storage device. In addition, for the implementation 500 and other processes and methods disclosed herein, each block may represent circuitry that is wired to perform the specific logical functions in the process.

As shown in FIG. 5, the implementation 500 involves at block 502, receiving a stream of audio data from a microphone; at block 504, as a subset of the audio data is received, identifying based on at least the subset of audio data, an error condition; and at block 506, providing for display on a graphical display, a graphical representation associated with the identified error condition.

a. Receive a Stream of Audio Data from a Microphone

As indicated above, block 502 involves receiving a stream of audio data from a microphone. In one example, the microphone may be a part of a network device providing a calibration interface to guide a user through the process of calibrating one or more playback devices. In another example, the microphone may be a microphone external to the network device and communicatively coupled to the network device. In discussions herein, physical movement of the network device may involve concurrent physical movement of the microphone.

In one example, the network device, prior to the microphone receiving the stream of audio data, may send to at least one of the one or more playback devices, a message to cause the at least one playback device to play a calibration tone. In one case, the calibration interface may prompt the user to indicate when the user is ready to begin movement of the network device within the playback environment. For instance, the calibration interface may provide on a graphical display of the network device, a selectable icon (i.e. a “start calibration” icon) that the user can select to indicate that the user is ready.

The network device, in response to receiving an input indicating that the user is ready to begin movement of the network device within the playback environment, may accordingly send the message to the at least one of the one or more playback device. In one case, the at least one of the one or more playback device may then coordinate playback of the calibration tone by each of the one or more playback devices.

As the calibration tone is being played by the one or more playback devices, the microphone may detect an audio signal including at least a portion of the calibration tone being played and any ambient noise present in the playback environment. The microphone may then, as the audio signal is detected, sample the detected audio signal and stream the resulting audio data to a processor of the network device.

As such, the stream of audio data may be received while a calibration tone is being played by the one or more playback devices and as the microphone detects and samples the audio signal. The audio data may accordingly include (i) an audio signal component corresponding to the at least a portion of the calibration tone being played, and (ii) a background noise component corresponding to audio elements other than the calibration tone.

FIG. 6 shows an illustrative playback device calibration user interface 600. As shown, the user interface 600 includes a graphical representation 602 indicating that one or more playback devices in a “LIVING ROOM” zone is being calibrated. Referring to FIG. 1, playback devices, 104, 106, 108, and 110 may be the one or more playback devices that are being calibrated. The user interface 600 further includes a graphical representation 604 that may indicate that detecting of an audio signal for calibration purposes is taking place. The graphical representation 604 may also show a status of the audio signal recording process, such as an amount of the predetermined duration of time for detecting of the calibration tone that has elapsed and/or that is remaining. The graphical representation 604 may also show a representation of the audio signal that has been detected thus far. Also shown in the user interface 600 is a selectable icon 606 that may be selected to terminate the calibration process. One having ordinary skill in the art will appreciate that the user interface 600 of FIG. 6 is for illustration purposes and that other examples are also possible.

b. As a Subset of the Audio Data is Received, Identify Based on at Least the Subset of Audio Data, an Error Condition

At block 504, the implementation 500 involves as a subset of the audio data is received, identifying based on at least the subset of audio data, an error condition. In one example, the subset of the audio data may be a single audio data sample. In another example, the subset of the audio data may be a plurality of audio data samples. In one case, identifying the error condition based on at least the subset of the audio data may involve identifying the error condition based on the subset of the audio data and one or more preceding subsets of the audio data in the stream of audio data.

In some cases, an error condition may be statistically insignificant. For instance, if a noise impulse occurs during calibration, the audio data indicating the noise impulse may be automatically discarded as an outlier during processing of the audio data. In such a case, the network device may determine that calibration of the one or more playback devices may continue. In other cases, the error condition may be statistically significant and audio data indicating the error condition may not be discarded as an outlier. In such case, the network device may, responsive to identifying the error condition, determine that calibration of the one or more playback devices is to be suspended, and accordingly send to at least one of the one or more playback devices, a message to cause the at least one playback device to stop playing the calibration tone.

In one example, a plurality of predetermined error conditions and corresponding characteristics of the predetermined error conditions may be defined. In such a case, an identification of the error condition at block 504 may involve identifying the error condition from the plurality of predetermined error conditions based on identifying the corresponding characteristics. In one case, only a single error condition is identified based on the at least a subset of the audio data. In another case, multiple error conditions may be identified based on the at least a subset of audio data.

As indicated above, the calibration interface may prompt the user to move the network device within the playback environment while the calibration tone is playing. The calibration interface may further prompt the user to move the network device up and down within the network device. Movement of the network device while the microphone of the network device detects the calibration tone may provide a more comprehensive acoustic characteristic of the playback environment to be captured in the stream of audio data. In addition, movement of the network device across areas in the playback environment where enjoyment of audio playback by the one or more playback devices typically occurs while the microphone of the network device detects the calibration tone may further provide an acoustic characteristic of the playback environment that is more pertinent to how the playback environment is used during audio playback by the one or more playback devices in the playback environment.

During the movement of the network device, a level of the audio signal detected by the microphone of the network device may be expected to have a certain degree of variation and a certain rate of variation. As such, if a determination is made that a level of the audio signal component represented in the subset of audio data is less a minimum threshold, an error condition of insufficient movement of the network device may be identified. Alternatively, if a determination is made that a rate of variation in a level of the audio signal component represented in the subset of audio data is above a maximum threshold, an error condition of overly-fast movement of the network device may be identified.

In one example, the network device may further include a motion sensor, such as an accelerometer, among other examples. In such a case, the processor of the network device may further activate the motion sensor during calibration of the one or more playback device, and in particular, while the calibration tone is being played by the one or more playback device and while the network device is expected to be moved within the playback environment. In this instance, the processor of the network device may further be configured to receive a stream of motion data. The motion data may indicate a range of movement and/or a rate of movement of the network device within the playback environment. The range of movement and rate of movement of the network device may involve both lateral movement of the network device within the playback environment and up and down movement of the network device.

As a subset of the motion data is received by the motion sensor, the processor of the network device may identify one or more error conditions based on at least the subset of motion data. As such, the error conditions of insufficient movement or overly-fast movement may alternatively or additionally be identified based on at least a subset of the motion data from the motion sensor. More specifically, when movement detected by the motion sensor is below a minimum threshold, an error message of insufficient movement is generated, and/or when a rate of movement detected by the motion sensor is above a maximum threshold, an error message of overly fast movement is generated.

In one example, a range of movement that is considered insufficient movement may be determined based on an expected size of the listening environment. In one case, a threshold range of movement of 1.2 meters may be determined for an average listening environment. In this case, if a range of movement detected by the motion sensor is less than 1.2 meters, the error condition of insufficient movement may be identified.

In another example, the expected range of movement may vary depending on an indicated type of listening environment, and accordingly the threshold range of movement may vary based on the indicated type of listening environment. For instance, if a user indicates during the calibration process that the calibration is to be performed for a living room, the threshold range of movement may be 3 meters. The user may indicate that the calibration is performed for a living room by naming the playback zone associated with the playback device(s) being calibrated as “Living Room.” On the other hand, if a user indicates during the calibration process that the calibration is to be performed for a bathroom, the threshold range of movement may be 1 meter. Other examples are also possible.

Other examples for determining and/or identifying the threshold range of movement may also be possible. For instance, the network device and/or the playback devices may play an impulse signal and estimate a size of the listening environment based on a detection by the network device and/or playback devices of the reflected signal. Other examples are also possible.

A playback environment may involve one or more playback zones, and accordingly may include one or more playback devices associated with the one or more playback zones. Calibration of the one or more playback devices may be suitably performed within a particular playback zone associated with the one or more playback devices, rather than another playback zone or a playback environment that does not include the particular playback zone. In other words, referring to FIG. 1, playback devices 122 and 124 may be suitably calibrated for the master bedroom, and not the dining room.

In one example, if a determination is made that a level of the audio signal component represented in the subset of audio data has gradually decreased below a minimum threshold, an error condition of exceeding a threshold movement distance may be identified. In other words, the network device may have moved too far from the one or more playback devices, and outside of a suitable playback environment for the one or more playback devices.

Prior to playback of the calibration tone by the one or more playback devices being calibrated and detection of the audio signal by the microphone, the calibration interface may first determine whether a background noise level within the playback environment is suitable for calibration of the one or more playback devices in the playback environment. In one case, the calibration interface may provide a graphical representation of a noise-meter to indicate a noise level in the playback environment. If the noise level is above a suitable level, the calibration interface may prompt the user to attempt to reduce the noise level in the playback environment prior to calibrating the one or more playback devices. If the noise level of the playback environment is within suitable levels, the selectable icon that the user can select to indicate that the user is ready to move the network device within the playback environment may be displayed on the calibration interface. A selection of the selectable icon may then cause the playback of the calibration tone by the one or more playback devices and detection of the audio signal by the microphone of the network device to begin.

During playback of the calibration tone by the one or more playback devices and detection of the audio signal by the microphone of the network device, background noise levels in the playback environment may change. In one example, if a determination is made that a level of the background noise component represented in the subset of audio data is above a maximum threshold level, an error condition of unsuitable background noise may be identified. In one instance, such an error condition may occur if a burst of sound is present in the playback environment during detection of the audio signal by the microphone.

In another example, if a determination is made that a ratio between the audio signal component and the background noise component (signal to noise ratio, or “SNR”) represented in the subset of audio data is below a minimum threshold, an error condition of overly high background noise may be identified. In one instance, such an error condition may occur if the background noise in the playback environment has gradually increased beyond a suitable level.

Different network devices may have different microphone configurations. In one example, if the microphone of the network device is on the bottom of the network device (relative to a standard operating orientation of the network device), the calibration interface may, prior to the playback of the calibration tone by the one or more playback device and detection of the audio signal by the microphone, prompt the user to flip the network device upside-down such that the microphone is on the top of the network device. Such an orientation of the network device, and consequently the microphone may cause the microphone of the network device to be suitably oriented for optimal detection of the audio signal that includes at least a portion of the calibration tone played by the one or more playback devices being calibrated.

In one example, if a determination is made that a level of the audio signal component represented in the subset of audio data has substantially (or drastically) decreased below a minimum threshold, an error condition of having an improperly orientated network device (and microphone) may be identified. For instance, a user may have instinctively and/or accidentally flipped the phone back to standard operating orientation of the network device, in which the microphone may not be optimally oriented for detecting the audio signal that includes at least a portion of the calibration tone played by the one or more playback devices being calibrated. In one case, motion data from the motion sensor may also be used to determine an orientation of the network device. Accordingly, the error conditions of an improperly oriented network device may alternatively or additionally be identified based on at least a subset of the motion data from the motion sensor.

In addition to an improperly orientated network device (and microphone), a microphone that is even partially obstructed may also negatively affect the effectiveness of the calibration of the one or more playback devices using the network device. In one case, a protective and/or decorative case for the network device may obstruct a portion of the microphone. In another case, lint from clothing or other debris from regular use of the network device may also obstruct a portion of the microphone.

In one example, if a determination is made that the audio signal component represented in the subset of audio data is substantially different from a reference audio signal, an error condition of an obstructed microphone may be identified. In one case, the reference audio signal may be representative of the calibration tone. For instance, the reference audio signal may be generated by convoluting the calibration tone audio signal with a frequency response of the microphone. In one case, a substantial difference between the subset of the audio data and the reference audio signal may include a substantially attenuated audio signal represented in the audio data, relative to the reference audio signal.

The network device used for calibration of the one or more playback devices may also be used as a communication device, as such, during playback of the calibration tone by the one or more playback devices and while the microphone of the network device is detecting the audio signal, the network device may receive messages over a local area network and/or cellular network and may generate notifications in the form of audio signal and/or vibrations. The audio and/or vibrational notifications may also negatively affect the effectiveness of the calibration of the one or more playback devices. Accordingly, if a determination is made that the network device generated an audible or physical notification during playback of the calibration tone and detection of the audio signal, a corresponding error state may be identified.

As indicated above, one or more error conditions may be determined based on combinations of the received audio data and motion data. In one example, the network device may be configured to suspend calibration if ¼ of the received audio data indicates an SNR that is below an SNR threshold. In one case, as discussed previously, may be that the background noise level is too high.

In another case, however, the motion data corresponding to those ¼ of the received audio data may be further based on to identify the error condition. For instance, if ⅓ of the motion data corresponding to the ¼ of the received audio data indicates movement above a certain threshold, than an error condition of overly fast movement may be determined. In this case, the below-threshold SNR may result from increased noise from the overly fast movement (wind/draft over the microphone from the movement).

In another instance, if ¾ of the ¼ of the received audio data indicates an SNR that is below the SNR threshold despite corresponding motion data indicating an expected, below-threshold rate of movement, an error condition of too much background noise may be determined. Further in this case, if movement of the network device within the playback environment is faster than the threshold rate of movement, but the SNR of the received audio data remains above the SNR threshold, calibration may be allowed to continue and no error conditions may be identified. In other words, in this case, so long as the SNR of the received audio signal is above the SNR threshold, no error condition is identified. However, if the SNR of some of the received audio data (i.e. ¼, as discussed above) is below the SNR threshold, the motion data may be relied upon to determine whether the error condition relates to background noise or overly fast movement. Other examples are also possible.

Descriptions of the error conditions described above are for illustrative purposes and are not meant to be limiting. One having ordinary skill in the art will appreciate that other examples are also possible. For instance, characteristics may be determined for an error condition involving movement of the network device such that a piece of furniture or the user is between the one or more playback devices and the network device, for example, if the audio data falls below a predetermined threshold for a relatively short amount of time during the calibration procedure. Such an error condition may be identified if the determined characteristics are present in the at least a subset of the audio data.

In addition, while the above examples involve identifying one or more error conditions based on a subset of audio data while the subset of audio data is received, one having ordinary skill in the art will appreciate that an alternative embodiment in which the one or more error conditions is determined after receiving of the audio data is complete, based on all the received audio data, is also possible. Other examples are also possible.

c. Provide for Display on a Graphical Display, a Graphical Representation Associated with the Identified Error Condition

At block 506, the implementation 500 involves providing for display on a graphical interface, a graphical representation associated with the identified error condition. FIG. 7 shows an illustrative playback device calibration error condition user interface 700 that may be displayed on the graphical interface when an error condition has been identified. As shown, the user interface 700 includes a graphical representation 702 indicating that the displayed content on the interface 700 corresponds to the one or more playback devices in the LIVING ROOM zone.

The user interface 700 further includes a graphical representation 710 that may include a textual message describing an identified error condition and/or suggestions for remedying the error condition. The user interface 700 further includes selectable icons 706 and 708. Selectable icon 706 may be selected to try the calibration process again, and selectable icon 708 may be selected to terminate the calibration process. As shown, the graphical representation 710 may overlay a grayed or dimmed version of some or all of the graphical representation 604 of the user interface 600 of FIG. 6.

In one example, each error condition (i.e. in the plurality of predetermined error conditions) may have a corresponding textual message to be provided in the graphical representation 710. For instance, if the identified error condition relates to insufficient movement, an example textual message may be “To get a good measurement, make sure you're slowly moving your device up and down and walking all throughout your room. Please try again with more movement.” In another instance, if the identified error condition relates to overly-fast movement, an example textual message may be “You were moving a little too fast to get a good measurement for tuning Please try again, but move slower this time.”

In one instance, if the identified error condition relates to background noise being above a threshold level, the example textual message may be “We couldn't get a good measurement for tuning Please reduce background noise and try again.” In such a case, the graphical representation 710 may also include a representation of a noise meter, allowing the user to see if the user sufficiently reduced the background noise level in the playback environment below the threshold level, before selecting the icon 706 to try again.

In another instance, if the identified error condition involves an obstructed microphone, the example textual message may be “If your device has a case, please remove it. Please also make sure your microphone is unobstructed and try again.”

The example textual messages discussed herein are for illustrative purposes only and are not meant to be limiting. Further, one having ordinary skill in the art will appreciate that other examples are also possible.

In one example, multiple error conditions may be identified based on the at least a subset of the audio data. In one case, a most severe error condition from the multiple error conditions may be identified and a textual message corresponding to the most severe error condition may be displayed in the graphical representation 710. In another case, a subset of the multiple error conditions may be identified (i.e. top 3 most severe error conditions), and textual messages corresponding to the subset of the multiple error conditions may be displayed in the graphical representation 710. In yet another case, textual messages corresponding to each of the multiple error conditions may be displayed in the graphical representation 710. Other examples are also possible.

IV. Example Techniques to Validate Motion of a Microphone During Calibration

As indicated previously, one or more error conditions may negatively affect the effectiveness of the calibration of the one or more playback devices. Such error conditions include improper motion of the microphone during calibration. Improper motion may include insufficient translation in one or more dimensions, as well as excessive or insufficient speed of translation.

In one example, the one or more error conditions may be detected during the calibration period (i.e., during playback of the calibration tone by the one or more playback device and detection of the audio signal by the microphone of the recording device. In one case, calibration of the one or more playback devices may be suspended and/or terminated when an error condition is identified, rather than after completing playback of the calibration tone and detecting of the audio signal for the entire calibration duration.

FIG. 8 shows a flow diagram of example implementation 800 to facilitate detection of certain error conditions. Implementation 800 presents example techniques that can be implemented within an operating environment involving, for example, the media playback system 100 of FIG. 1, one or more of the playback device 200 of FIG. 2, and one or more of the control device 300. In one example, the implementation 800 may be performed in whole or in part by a computing device in communication with a media playback system. For instance, the implementation 800 may be performed by one or more of the control devices 126 and 128 of FIG. 1. In such cases, one or more of the control devices 126 and 128 may have installed thereon a software application that includes instructions executable by a processor of a respective control device to cause the respective control device to perform the functions of implementation 800.

Implementation 800 may include one or more operations, functions, or actions as illustrated by one or more of blocks 802-808. Although the respective blocks are illustrated in sequential order, these blocks may also be performed in parallel, and/or in a different order than those described herein. Also, the various blocks may be combined into fewer blocks, divided into additional blocks, and/or removed based upon the desired implementation. In addition, for the implementation 800 and other processes and methods disclosed herein, the flowcharts show functionality and operation of only a few possible implementations of present embodiments. In this regard, each block may represent a module, a segment, or a portion of program code, which includes one or more instructions executable by a processor for implementing specific logical functions or steps in the process. The program code may be stored on any type of computer readable medium, for example, such as a storage device including a disk or hard drive.

The computer readable medium may include non-transitory computer readable medium, for example, such as computer-readable media that stores data for short periods of time like register memory, processor cache and Random Access Memory (RAM). The computer readable medium may also include non-transitory media, such as secondary or persistent long term storage, like read only memory (ROM), optical or magnetic disks, compact-disc read only memory (CD-ROM), for example. The computer readable media may also be any other volatile or non-volatile storage systems. The computer readable medium may be considered a computer readable storage medium, for example, or a tangible storage device. In addition, for the implementation 800 and other processes and methods disclosed herein, each block may represent circuitry that is wired to perform the specific logical functions in the process.

a. Receive Motion Data Indicating Movement of a Microphone

At block 802, implementation 800 involves receiving motion data indicating movement of a microphone. For instance, a recording device may include a microphone and one or more sensors that generate date indicating movement of the recording device (e.g., an accelerometer, gyroscope, or inertial measurement unit). The recording device may receive motion data from these sensors. Alternatively, a processing device, such as a control device or playback device, may receive motion data from the recording device. In some cases, the recording device may be implemented as a control device (e.g., control device 300), which may also be the processing device. Yet further, in some cases, sensors on devices that are remote from the recording device (e.g., playback devices) may include remote tracking systems, such as vision (camera), infrared, or laser tracking systems that track motion of the recording device.

To illustrate, in an example calibration procedure, a recording device may receive an indication that one or more playback devices are emitting a calibration sound. Such an indication may be received by way of a selectable control that initiates calibration (possibly displayed on a calibration interface) or by way of a message from a playback device indicating that the playback device will begin emitting the calibration sound, among other examples. During emission of the calibration sound, the recording device may detect the calibration sound via a microphone and record microphone data representing the calibration sound to data storage.

Also during emission of the calibration sound, the recording device may also cause one or more sensors (e.g., an accelerometer, gyroscope, or inertial measurement unit) to generate motion data indicating movement of a microphone while the microphone is detecting the calibration sound. As noted above, a recording device that includes a microphone may be a part of a network device providing a calibration interface to guide a user through the process of calibrating one or more playback devices. In another example, the microphone may be a microphone external to a recording device and communicatively coupled to the recording device. Sensors may be mounted within the same device (e.g., the recording/network device) or housing (e.g., a microphone housing that is coupled to the recording device) as the microphone, such that motion detected by the sensors substantially represents motion of the microphone. In discussions herein, physical movement of the recording/network device may involve concurrent physical movement of the microphone.

Different sensors may generate different types of motion data. For example, accelerometers, gyroscopes, or inertial measurement units may generate data representing acceleration. Such acceleration data may include acceleration in three dimensions. In some examples, the acceleration data may indicate user acceleration relative to the recording device, as well as gravity acceleration relative to the calibration device, among other possible examples.

The microphone may also produce motion data. For example, propagation delay of audio from the one or more playback devices under calibration (and possibly other playback devices that are not under calibration but within range of the recording device) may indicate radial distance from each playback device to the microphone. Such radial distances may change over the calibration period as the microphone (and perhaps the recording device itself) is moved during the calibration period.

To illustrate, in one example, a calibration sound emitted by a given playback device may include a chirp that repeats at regular intervals. To determine distance between the microphone and a given playback device, a recording device may detect changes in the interval at which the chirp repeats, as small changes in the interval may represent changing propagation delay between the microphone and the playback device. As, in some cases, the microphone may detect both the emitted calibration sound and one or more reflections of that calibration sound, the recording device may identify the instance of the calibration sound that was detected as having the most sound intensity (i.e., the loudest), as the calibration sound will lose sound intensity as it reflects within the listening area.

Within the motion data, the processing device may identify one or more components that indicate motion in particular dimensions. For instance, within the motion data, the processing device may identify a component that indicates movement of the recording device in a vertical direction, possibly from the acceleration data relative to gravity, among other possible motion data. Such a component may ultimately be used to validate motion in the vertical direction, and perhaps in one or more additional dimensions. As another example, within the motion data, the processing device may identify a component that indicates movement of the recording device in a radial direction from the one or more playback devices, possibly from audio and timing data indicating changing propagation delays (and changing radius') between the microphone and each of the one or more playback devices.

Identifying a component may involve integrating the received motion data to determine other types of motion data. For instance, acceleration data relative to gravity may be integrated to determine velocity relative to gravity (e.g., upwards and downwards) and integrated around to determine distance. Given that an example calibration procedure suggests moving the microphone upwards and downwards during the calibration period, such a movement may be approximately sinusoidal relative to gravity (i.e. vertical) provided the microphone is moved per the calibration procedure. Conversely, if the microphone is not moved during the calibration procedure, the movement data may indicate a flat curve, which represents little change in the vertical direction over the calibration period.

To illustrate movement of the recording device during calibration, FIG. 9 shows media playback system 100 of FIG. 1. FIG. 9 shows a path 900 along which a recording device (e.g., control device 126) might be moved during calibration. As noted above, the control device may indicate how to perform such a movement in various ways, such as by way of a video or animation, among other examples. While the path shows movement in a horizontal plane, the movement contemplated by some example calibration procedures may include vertical motion (e.g., by a user moving his arm up and down while holding the microphone).

In some embodiments, control device 126 may detect calibration signals emitted by a playback device (e.g., playback device 108) at various points along the path (e.g., point 902 and/or point 904, among others). Alternatively, the control device may record the calibration signal along the path. In some embodiments, the playback device may play a periodic calibration signal (or perhaps repeat the same calibration signal) such that the playback device records an instance of the calibration signal at different points along the paths. Comparison of such recordings may indicate how the acoustic characteristics change from one physical location in the environment to another, which influences the calibration settings chosen for the playback device in that environment.

FIG. 10A shows a graph 1000A that includes a plot 1002A representing example vertical motion data in a first instance of an example calibration procedure. As shown, the vertical height of the microphone approximately varies sinusoidally over time, which would be consistent with a user moving the microphone upward and downwards during the first instance of the calibration procedure.

FIG. 10B shows a graph 1000B that includes a plot 1002B representing example vertical motion data in a first instance of an example calibration procedure. As shown, the vertical height of the microphone is roughly the same over time, which would be consistent with a user keeping the microphone at a consistent height during the second instance of the calibration procedure.

In some examples, the calibration sound emitted by the playback devices is periodic. For instance, a given playback device may repeatedly emit a calibration tone. Each period, or repetition, of the calibration tone may correspond to a sample representing the response of the listening area from a different position (given that the microphone is moving). In some examples, the recording device may receive samples in groups, which may be referred to as frames. Each frame may correspond to a period, or repetition, of the calibration tone such that each frame represents motion of the microphone while a given repetition of the calibration tone was detected by the microphone.

To illustrate example repetitions of a calibration sound, FIG. 11 shows one example iteration (e.g., a period or cycle) of an example calibration sound. This iteration is represented as a frame 1100. The frame 1100 includes a swept signal component 1102 and noise component 1104. The swept signal component 1102 is shown as a downward sloping line to illustrate a swept signal that descends through frequencies of a calibration range (e.g., a range of frequencies over which the playback device is to be calibrated). The noise component 1104 is shown as a region to illustrate low-frequency noise throughout the frame 1100. As shown, the swept signal component 1102 and the noise component overlap in a transition frequency range, which may prevent unpleasant sounds caused by a sharp transition between the components. The period 1106 of the calibration sound is approximately ⅜ths of a second (e.g., in a range of ¼ to ½ second), which in some implementation is sufficient time to cover the calibration frequency range of a single channel. As the calibration sound in frame 1100 includes multiple components, it may be referred to as a hybrid calibration sound. Hybrid calibration sounds may have various advantages in covering a range of calibration frequencies.

FIG. 12 illustrates an example periodic calibration sound 1200. Five iterations (e.g., periods) of hybrid calibration sound 1100 are represented as a frames 1202, 1204, 1206, 1208, and 1210. In each iteration, or frame, the periodic calibration sound 1200 covers a calibration frequency range using two components (e.g., a noise component and a swept signal component). During a calibration period, a recording device may record these frames of the calibration and also receive respective frames of motion data that correspond to motion occurring while frames 1202, 1204, 1206, 1208, and 1210 are emitted by the playback device and detected by the microphone. In some examples, the recording device may receive these frames of motion data as they are generated by the sensor(s). Alternatively, a device may receive a data stream of samples from a sensor, or receive the motion data after the calibration period, among other examples.

b. Validate Motion of the Microphone During Calibration Period

At block 804, the implementation 800 involves validating motion of the microphone during the calibration period. Validating motion of the microphone may involve determining whether sufficient translation of the microphone occurred during the calibration period while the playback device(s) were emitting the calibration sound. In examples, the processing device may validate translation in one or more directions (e.g., vertical, horizontal, or radial directions). The processing device may also validate motion by determining whether speed of the microphone was between threshold limits as well. Other types of motion validation are contemplated as well.

To validate vertical motion by determining that the microphone experienced sufficient vertical motion, the processing device may determine one or more vertical motion parameters that represent motion of the microphone during the calibration period. As noted above, the processing device may identify a component of the motion data in the vertical direction (e.g., the example motion data represented by plots 1002A and 1002B. Such a component may identify vertical oscillations of the microphone or perhaps linear motion in the vertical direction. The processing device may infer a constant (i.e., a vertical motion parameter) from the identified component. Such a parameter may include a mean of the motion data in a vertical direction (e.g., a root mean square (RMS) value for vertical oscillations) or a time-average for linear oscillations in the vertical direction, among other examples.

The processing device may determine that sufficient vertical translation of the control device occurred during the calibration period by determining that the vertical motion parameter exceeds a vertical-motion threshold. The vertical-motion threshold may be set to a value that corresponds to certain amount of vertical motion (i.e., motion that is determined to be sufficient for quality audio calibration data). For instance, such a threshold may be set to correspond to movement, on average, of the microphone upwards and downwards in a range of a few feet (consistent with typical human arm length) for a significant portion of the calibration period (e.g., 75% or greater). As another example, the threshold may correspond to a certain number of vertical oscillations during the calibration period. In some embodiments, the vertical-motion threshold is characteristic of vertical motion for a majority of the calibration period. The processing device may determine such a parameter for motion in other dimensions as well, such as in radial or horizontal directions.

In operation, motion parameters may be determined, and perhaps re-determined, at any of one or more points during the calibration period or after the calibration period. For example, a vertical motion parameter may be updated continuously or discretely through the calibration period. In some examples, the processing device may repeatedly update the parameter upon receiving one or more additional frames of motion data.

In some circumstances, the processing device may consider less than the entire calibration period in determining the vertical-motion parameter (and/or other parameters representing motion in other directs). For example, the processing device may begin validating the vertical motion parameter at some point partway through the calibration period (e.g., after one quarter of the calibration period has elapsed), as a user might not immediately start microphone might not immediately start moving when the playback devices begin emitting the calibration sound(s). As another example, if the processing device determines that the microphone has experienced sufficient motion in a given direction at a point partway through the calibration period, the processing device might not consider additional motion data in determining the motion parameters. As yet a further example, if a processing device determines partway through the calibration that that the motion cannot be valid, the processing device may abort the measurement.

As noted above, a processing device may determine motion parameters for motion in a radial direction, which the processing device may use to validate radial motion of a microphone relative to the playback device. Within examples, the processing device may determine a motion parameter indicating total or average change in radial distance from the microphone during the calibration period. Given that this parameter exceeds a threshold, the processing device may determine that sufficient radial motion of the microphone occurred. As indicated above, motion data indicating radial distance between the microphone and a playback device may be generated by measuring propagation delay between the playback device and the microphone.

In some examples, the processing device may validate motion in another direction (e.g., horizontal motion across the listening area) without necessarily using motion data that directly represents motion in that measurement plane. For instance, a processing device may determine motion of the recording device in a horizontal direction through the listening area using motion data indicating movement of the recording device in a vertical and radial directions. In some cases, such data may be relatively easier to obtain than motion data in the horizontal direction. However, a calibration with sufficient motion in the horizontal plane across the listening area may be relatively more useful than calibrations without such motion.

To determine one or more horizontal-motion parameters representing motion of the recording device in a horizontal direction, a processing device my cross-correlate a first component of the motion data indicating movement of the control device in a vertical direction with a second component of the motion data indicating movement of the control device in a radial direction from the one or more playback devices. Given significant motion in two directions, motion data indicating motion in the respective directions is not likely to be closely correlated. However, if there is significant motion in only one direction (or no directions at all), the motion data indicating motion in the respective directions is more likely to be closely correlated. Accordingly, relatively correlated vertical and radial motion may indicate relatively little horizontal translation. Conversely, relatively uncorrelated vertical and radial motion may indicate relatively more horizontal translation.

To validate horizontal translation by cross-correlating motion data in other dimensions, the processing device may obtain motion data suitable for cross-correlation. To illustrate, in one example, the processing device receive a continuous radial motion measurement over the calibration period (e.g., discrete samples indicating respective distances between the microphone and a playback device) and a continuous motion measurement over the calibration period (e.g., discrete samples indicating vertical movement). Alternatively, the processing device may receive measurements which overlap for at least a portion of the calibration period.

In some examples, the measurements may be prepared to facilitate cross-correlation. For instance, the measurements may be trimmed to represent the same period of time (i.e., the same motion, but in different directions). Further, the measurements may be up-sampled or down-sampled such that the number of samples in each measurement matches. Also, to further facilitate cross-correlation, the processing device may center the measurement data sets around the same value (e.g., 0), perhaps by subtracting the mean of each data set from all values in the data set. Yet further, the processing device may normalize the measurement data sets relative to one another by scaling to a particular maximum value (e.g., 1) for each data set. To account for sensor error (e.g., spikes) and other non-measurement artifacts, the data may be filtered to remove such artifacts. Alternative or additional processing may further facilitate cross-correlation.

After obtaining measurements in two dimensions (e.g., vertical and radial), the processing device may cross-correlate the two data sets to determine a correlation constant (i.e., a horizontal-motion parameter). Cross-correlation is a measure of similarity of two series (e.g., measurements) as a function of the lag of one relative to the other. A relatively high correlation constant indicates that the data sets are closely correlated. Where the data sets are motion data in respective directions, a relatively high correlation constant indicates relatively little motion in a third dimension. Conversely, a relatively low correlation constant indicates that relatively more motion in a third dimension occurred, as the data sets are not well correlated. To validate horizontal motion, the processing device may determine whether the horizontal-motion parameter exceeds a correlation threshold. The correlation threshold may be set to a value indicative of sufficient horizontal translation through the listening environment (e.g., horizontal translation for a threshold distance and/or for a threshold duration of time).

To illustrate cross-correlation, FIGS. 13A and 13B show example correlation graphs. FIG. 13A includes a plot 1300A that illustrates closely-correlated example vertical motion data 1302A and example radial motion data 1304A. In this example, a user performing the calibration process would have been standing still (or with little movement) while moving the recording device up and down vertically—thus yielding a radial displacement that varies closely with vertical motion of the recording device.

FIG. 13B includes a plot 1300B that illustrates closely-correlated example vertical motion data 1302B and example radial motion data 1304B. In this example, a user would have been walking around the listening area while moving the recording device upwards and downwards, thereby yielding a more loose correlation between vertical motion and radial displacement. In this plot, the slope of the moving average of the radial motion data 1304B is directly correlated with the horizontal translation that occurred over the calibration period.

In some cases, the processing device may receive multiple measurement measurements in one or more dimensions. In one example, multiple playback devices may be undergoing concurrent calibration which may produce multiple measurement data sets in the radial direction (e.g., one data set for each playback device relative to the microphone). The processing device may determine respective horizontal-motion parameters (e.g., correlation constants) for the multiple data sets by cross-correlating data in a first measurement plane (e.g., vertical) with the multiple data sets in the second measurement plane (e.g., radial). To determine whether sufficient horizontal translation across the listening area occurred, The processing device may compare the horizontal-motion parameters to the threshold, the processing device may compare the horizontal-motion parameters to a horizontal-motion correlation threshold.

Validating motion of the microphone may involve validating speed of the microphone during the calibration period. Excessive speed may interfere with the calibration possibly by creating Doppler-shift in the detected calibration sounds, which may cause overlap between respective iterations of a calibration tone. To validate speed, the processing device may determine that the motion data indicates that speed of the control device during the calibration period did not exceed a speed threshold (e.g., a particular meters per second limit). Further, movement that is too slow may also lead to a less than ideal calibration, as such slow speed may contribute to insufficient translation and/or lead to samples that represent the same physical location.

To illustrate, as noted above, a processing device may receive motion data indicating acceleration of the microphone during the calibration period. Given that the acceleration indicates movement relative to the environment, the processing device may integrate that acceleration to determine velocity, which may then be converted to scalar speed. However, given that certain sensors are coupled to the microphone, the acceleration detected by such sensors might not indicate motion through the environment directly. But, such acceleration data may be used to determine speed through the listening area.

In one example, the processing device may receive sensor data that includes multiple data streams indicating acceleration. For instance, the processing device may receive a first data stream indicating user acceleration relative to the control device and a second data stream indicating gravity acceleration relative to the control device. To determine user acceleration relative to gravity, the processing device may determine a product (e.g., a dot product) of the first data stream and the second data stream. Such a computation produces a third data stream indicating user acceleration relative to gravity. To facilitate determining speed of the microphone during the calibration, the processing device may determine the integral of the third data stream to produce a fourth data stream indicating the three-dimensional velocity of the microphone.

To validate speed, the processing device may convert the fourth data stream to the speed scalar. Such conversion may involve the processing device computing respective magnitudes of the samples indicating the three-dimensional velocity of the microphone to yield a fifth data stream indicating the scalar speed of the microphone during the calibration period. The processing device may then validate speed during the calibration period by determining that the speed data points do not exceed a speed threshold (or did not exceed the speed threshold for more than a threshold duration of time).

c. Send Message Indicating that Motion of Microphone During Calibration Period was Valid

In FIG. 8, at block 806, implementation 800 involves sending a message indicating that motion of the microphone during the calibration period was valid. For instance, the recording device may send a message to the one or more playback devices under calibration indicating that the calibration was valid. Such a message may indicate that sufficient translation of the control device occurred during the calibration period, that sufficient vertical translation of the control device occurred during the calibration period, that sufficient radial translation of the control device occurred during the calibration period, and/or that the sufficient translation of the control device did not exceed the speed threshold, among other examples.

After the playback device emits the calibration sound during the calibration interval, the recordings of the calibration sounds may be analyzed to determine calibration settings for the playback device. In some embodiments, the recording device may analyze the calibration sounds itself. Alternatively, the recording device may transmit the recordings (or a portion thereof) to another computing system (perhaps a computing system with more processing power, such as a personal computer or server (e.g., a server involved in providing a cloud computing service)). During the analysis, the recording device (or the other computing system) may determine a calibration profile for the playback device. When applied to a playback device, such a calibration profile may offset certain acoustic characteristics of the environment to calibrate the playback device to a desired equalization (e.g., a flat response) or perhaps the flat response adjusted by a desired equalization (e.g., an equalization for a certain type of music).

Some examples techniques for analyzing such recordings are described in U.S. patent application Ser. No. 13/536,493 filed Jun. 28, 2012, entitled “System and Method for Device Playback Calibration,” U.S. patent application Ser. No. 14/216,306 filed Mar. 17, 2014, entitled “Audio Settings Based On Environment,” and U.S. patent application Ser. No. 14/481,511 filed Sep. 9, 2014, entitled “Playback Device Calibration,” which are incorporated herein in their entirety. In some examples, sending the message indicating that sufficient translation of the control device occurred during the calibration period may involve sending a message instructing a playback device to calibrate using the determined calibration profile. By sending such a calibration profile, the device may indicate that the calibration was successful (and that the motion used to determine the calibration was valid as well). In some cases, wherein motion was not validated, a calibration might not be sent to the playback device.

In some case, a device (e.g., the recording device) may indicate the status of motion validation on a graphical interface. FIG. 14 shows an illustrative playback device calibration user interface 1400 that might be displayed on the graphical interface when motion of the microphone has been validated. As shown, the user interface 1400 includes a graphical representation 1402 indicating that the displayed content on the interface 1400 corresponds to one or more playback devices in a LIVING ROOM zone (e.g., the Living Room zone of media playback system 100).

The user interface 1400 further includes a graphical representation 1410 that may include a message describing an identified error condition and/or suggestions for remedying the error condition. The user interface 1400 further includes selectable icons 1406 and 1408. Selectable icon 1406 may be selected to repeat the calibration process again, and selectable icon 1408 may be selected to continue operation of the one or more playback devices. As shown, the graphical representation 1410 may overlay a grayed or dimmed version of some or all of the graphical representation 604 of the user interface 600 of FIG. 6.

d. Display Prompt to Correct Motion

Returning to FIG. 8, at block 808, the implementation 800 involves displaying a prompt to correct motion. For instance, the recording device may display a prompt to repeat all or part of the calibration. The recording device may also indicate how the motion was insufficient and perhaps how motion can be corrected (e.g., by moving more in a given plane or at a different speed). Such a prompt may indicate that sufficient translation of the control device did not occur during the calibration period, that sufficient vertical translation of the control device did not occur during the calibration period, that sufficient radial translation of the control device did not occur during the calibration period, and/or that the sufficient translation of the control device exceeded the speed threshold, among other examples.

FIG. 15 shows an illustrative playback device calibration error condition user interface 1500 that may be displayed on the graphical interface when motion has not been validated. As shown, the user interface 1500 includes a graphical representation 1502 indicating that the displayed content on the interface 1500 corresponds to the one or more playback devices in the LIVING ROOM zone.

The user interface 1500 further includes a graphical representation 1510 that may include a message describing an identified error condition and/or a prompt to remedy the error condition. The user interface 1500 further includes selectable icons 1506 and 1508. Selectable icon 1506 may be selected to try the calibration process again, and selectable icon 1508 may be selected to terminate the calibration process. As shown, the graphical representation 1510 may overlay a grayed or dimmed version of some or all of the graphical representation 604 of the user interface 600 of FIG. 6.

In one example, each type of motion (e.g. motion and or speed in various directions) may have a corresponding textual message to be provided in the graphical representation 1510. For instance, if the identified error condition relates to movement in the horizontal plane, an example textual message may be “To get a good measurement, make sure you're slowly moving your device up and down and walking all throughout your room. Please try again with more movement across your listening area.” In another instance, if the identified error condition relates to excessively fast movement, an example textual message may be “You were moving a little too quickly to get a good measurement for tuning Please try again, but move more slowly this time.”

The example textual messages discussed herein are for illustrative purposes only and are not meant to be limiting. Further, one having ordinary skill in the art will appreciate that other examples are also possible.

VI. Conclusion

The description above discloses, among other things, various example systems, methods, apparatus, and articles of manufacture including, among other components, firmware and/or software executed on hardware. It is understood that such examples are merely illustrative and should not be considered as limiting. For example, it is contemplated that any or all of the firmware, hardware, and/or software aspects or components can be embodied exclusively in hardware, exclusively in software, exclusively in firmware, or in any combination of hardware, software, and/or firmware. Accordingly, the examples provided are not the only way(s) to implement such systems, methods, apparatus, and/or articles of manufacture.

Additionally, references herein to “embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one example embodiment of an invention. The appearances of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. As such, the embodiments described herein, explicitly and implicitly understood by one skilled in the art, can be combined with other embodiments.

The specification is presented largely in terms of illustrative environments, systems, procedures, steps, logic blocks, processing, and other symbolic representations that directly or indirectly resemble the operations of data processing devices coupled to networks. These process descriptions and representations are typically used by those skilled in the art to most effectively convey the substance of their work to others skilled in the art. Numerous specific details are set forth to provide a thorough understanding of the present disclosure. However, it is understood to those skilled in the art that certain embodiments of the present disclosure can be practiced without certain, specific details. In other instances, well known methods, procedures, components, and circuitry have not been described in detail to avoid unnecessarily obscuring aspects of the embodiments. Accordingly, the scope of the present disclosure is defined by the appended claims rather than the forgoing description of embodiments.

When any of the appended claims are read to cover a purely software and/or firmware implementation, at least one of the elements in at least one example is hereby expressly defined to include a tangible, non-transitory medium such as a memory, DVD, CD, Blu-ray, and so on, storing the software and/or firmware.

(Feature 1) A network device including a microphone configured for receiving an indication that one or more playback devices are emitting a calibration sound in a given environment during a calibration period, recording the emitted calibration sound and receiving motion data indicating movement of the network device during emission of the calibration sound, identifying a first component of the motion data that indicates movement of the network device in a vertical direction and one or more second components of the motion data that indicates movement of the network device in respective radial directions from the one or more playback devices, determining one or more horizontal-motion parameters representing motion of the network device in a horizontal direction through the environment by cross-correlating the first component of the motion data indicating movement of the network device in a vertical direction with the one or more second components of the motion data indicating movement of the network device in respective radial directions from the one or more playback devices, determining that sufficient horizontal translation of the network device occurred during the calibration period by determining that at least one of the horizontal motion parameters representing motion in the horizontal direction through the environment exceeds a correlation threshold, and sending a message indicating that sufficient translation of the network device occurred during the calibration period.

(Feature 2) The network device of feature 1, further configured for determining a vertical motion parameter representing a mean of the motion data in a vertical direction; and determining that sufficient vertical translation of the network device occurred during the calibration period by determining that the vertical motion parameter exceeds a vertical-motion threshold.

(Feature 3) The network device of feature 1 in combination with feature 2, wherein sending the message indicating that sufficient translation of the network device occurred during the calibration period comprising sending a message indicating that sufficient horizontal translation and sufficient vertical translation of the network device occurred during the calibration period.

(Feature 4) The network device of feature 1 or feature 3 in combination with feature 2, wherein determining the vertical motion parameter representing the mean of the motion data in the vertical direction comprises, repeatedly updating the vertical motion parameter representing the mean of the motion data in the vertical direction based on the accrued motion data as frames of motion data indicating movement of the network device during the calibration period are received.

(Feature 5) The network device of any of features 1-4, wherein receiving motion data indicating movement of the network device during the calibration period comprises receiving sensor data indicating acceleration of the network device, and receiving microphone data indicating respective radial distances from the one or more playback devices to the network device based on respective propagation delays between the one or more playback devices and a microphone coupled to the network device.

(Feature 6) The network device of any of features 1-5, further configured for determining respective calibration profiles for at least one of the one or more playback devices based on the recorded calibration sound, and wherein sending the message indicating that sufficient translation of the network device occurred during the calibration period comprises sending a message instructing the at least one playback device to calibrate using the determined calibration profile.

(Feature 7) The network device of any of features 1-5 in combination with FIG. 6, wherein determining respective calibration profiles for at least one of the one or more playback devices based on the recorded calibration sound comprises determining respective calibration profiles that offset acoustic characteristics of the given environment to calibrate the playback devices to a calibration equalization.

(Feature 8) The network device of any of features 1-7, further configured for determining that speed of the network device during the calibration period did not exceed a speed threshold, and wherein sending the message indicating that sufficient translation of the network device occurred during the calibration period comprises sending a message indicating that the sufficient translation of the network device did not exceed the speed threshold.

(Feature 9) The network device of any of features 1-7 in combination with feature 8, wherein receiving motion data indicating movement of the network device during the calibration period comprises receiving sensor data including a first data stream indicating user acceleration relative to the network device and a second data stream indicating gravity acceleration relative to the network device, and wherein determining that speed of the network device during the calibration period did not exceed a speed threshold comprises determining a third data stream indicating user acceleration relative to gravity based on the first data stream indicating user acceleration relative to the network device and the second data streaming indicating gravity acceleration relative to the network device, determining a fourth data stream indicating speed of the network device during the calibration period by determining a magnitude of an integral of the third data stream indicating user acceleration relative to gravity, and determining that the fourth data stream indicates that speed of the network device during the calibration period did not exceed the speed threshold.

(Feature 10) A method comprising receiving, by a computing device, motion data indicating movement of a recording device while the recording device was recording a calibration sound emitted by one or more playback devices in a given environment during a calibration period, determining, by the computing device, that sufficient vertical translation of the recording device occurred during the calibration period, determining, by the computing device, that sufficient horizontal translation of the recording device occurred during the calibration period, and sending, by the computing device to one or more playback devices, a message indicating that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions.

(Feature 11) The method of feature 10, wherein determining that sufficient horizontal translation of the recording device occurred during the calibration period comprises identifying a first component of the motion data that indicates movement of the recording device in a vertical direction and one or more second components of the motion data that indicates movement of the recording device in respective radial directions from the one or more playback devices, determining one or more horizontal-motion parameters representing motion of the recording device in a horizontal direction through the environment by cross-correlating the first component of the motion data indicating movement of the recording device in a vertical direction with the one or more second components of the motion data indicating movement of the recording device in respective radial directions from the one or more playback devices, and determining that sufficient horizontal translation of the recording device occurred during the calibration period by determining that at least one of the horizontal motion parameters representing motion in the horizontal direction through the environment exceeds a correlation threshold.

(Feature 12) The method of feature 10 or 11, wherein determining that sufficient vertical translation of the recording device occurred during the calibration period comprises determining a vertical motion parameter representing a mean of the motion data in a vertical direction, and determining that sufficient vertical translation of the recording device occurred during the calibration period by determining the vertical motion parameter exceeds a vertical-motion threshold.

(Feature 13) The method of feature 10 or 11 in combination with feature 12, wherein determining the vertical motion parameter representing the mean of the motion data in the vertical direction comprises repeatedly updating the vertical motion parameter representing the mean of the motion data in the vertical direction based on the accrued motion data as motion data indicating movement of the recording device during the calibration period is received.

(Feature 14) The method of any of features 10-14, further comprising determining that speed of the recording device during the calibration period did not exceed a speed threshold, wherein sending the message indicating that sufficient translation of the recording device occurred during the calibration period comprises sending a message indicating that the sufficient translation of the recording device did not exceed the speed threshold.

(Feature 15) The method of any of features 10-13 in combination with feature 14, wherein receiving motion data indicating movement of a recording device while the recording device detected a calibration sound emitted by one or more playback devices in a given environment during a calibration period comprises receiving sensor data including a first data stream indicating user acceleration relative to the recording device and a second data stream indicating gravity acceleration relative to the recording device, and wherein determining that speed of the recording device during the calibration period did not exceed a speed threshold comprises determining a third data stream indicating user acceleration relative to gravity based on the first data stream indicating user acceleration relative to the recording device and the second data streaming indicating gravity acceleration relative to the recording device, determining a fourth data stream indicating speed of the recording device during the calibration period by determining a magnitude of an integral of the third data stream indicating user acceleration relative to gravity, and determining that the fourth data stream indicates that speed of the recording device during the calibration period did not exceed the speed threshold.

(Feature 16) The method of any of features 10-15, further comprising determining respective calibration profiles for at least one of the one or more playback devices based on the recorded calibration sound, and wherein sending the message indicating that sufficient translation of the recording device occurred during the calibration period comprises sending a message instructing the at least one playback device to calibrate using the determined calibration profile.

(Feature 17) The method of any of features 10-16, wherein the computing device comprises the recording device.

(Feature 18) A computer readable medium configured for performing the method of any of features 10 to 17. 

We claim:
 1. A non-transitory computer-readable medium having stored therein instructions executable by one or more processors to cause a control device to perform operations comprising: receiving an indication that one or more playback devices are emitting a calibration sound in a given environment during a calibration period; recording the emitted calibration sound and receiving motion data indicating movement of the control device during emission of the calibration sound; identifying a first component of the motion data that indicates movement of the control device in a vertical direction and one or more second components of the motion data that indicates movement of the control device in respective radial directions from the one or more playback devices; determining one or more horizontal-motion parameters representing motion of the control device in a horizontal direction through the environment by cross-correlating the first component of the motion data indicating movement of the control device in a vertical direction with the one or more second components of the motion data indicating movement of the control device in respective radial directions from the one or more playback devices; determining that sufficient horizontal translation of the control device occurred during the calibration period by determining that at least one of the horizontal motion parameters representing motion in the horizontal direction through the environment exceeds a correlation threshold; and sending a message indicating that sufficient translation of the control device occurred during the calibration period.
 2. The non-transitory computer-readable medium of claim 1, wherein the operations further comprise: determining a vertical motion parameter representing a mean of the motion data in a vertical direction; and determining that sufficient vertical translation of the control device occurred during the calibration period by determining that the vertical motion parameter exceeds a vertical-motion threshold.
 3. The non-transitory computer-readable medium of claim 2, wherein sending the message indicating that sufficient translation of the control device occurred during the calibration period comprising sending a message indicating that sufficient horizontal translation and sufficient vertical translation of the control device occurred during the calibration period.
 4. The non-transitory computer-readable medium of claim 2, wherein determining the vertical motion parameter representing the mean of the motion data in the vertical direction comprises: as frames of motion data indicating movement of the control device during the calibration period are received, repeatedly updating the vertical motion parameter representing the mean of the motion data in the vertical direction based on the accrued motion data.
 5. The non-transitory computer-readable medium of claim 1, wherein receiving motion data indicating movement of the control device during the calibration period comprises: receiving sensor data indicating acceleration of the control device; and receiving microphone data indicating respective radial distances from the one or more playback devices to the control device based on respective propagation delays between the one or more playback devices and a microphone coupled to the control device.
 6. The non-transitory computer-readable medium of claim 1, wherein the operations further comprise determining respective calibration profiles for at least one of the one or more playback devices based on the recorded calibration sound, and wherein sending the message indicating that sufficient translation of the control device occurred during the calibration period comprises sending a message instructing the at least one playback device to calibrate using the determined calibration profile.
 7. The non-transitory computer-readable medium of claim 6, wherein determining respective calibration profiles for at least one of the one or more playback devices based on the recorded calibration sound comprises determining respective calibration profiles that offset acoustic characteristics of the given environment to calibrate the playback devices to a calibration equalization.
 8. The non-transitory computer-readable medium of claim 1, wherein the operations further comprise determining that speed of the control device during the calibration period did not exceed a speed threshold, and wherein sending the message indicating that sufficient translation of the control device occurred during the calibration period comprises sending a message indicating that the sufficient translation of the control device did not exceed the speed threshold.
 9. The non-transitory computer-readable medium of claim 8, wherein receiving motion data indicating movement of the control device during the calibration period comprises receiving sensor data including a first data stream indicating user acceleration relative to the control device and a second data stream indicating gravity acceleration relative to the control device, and wherein determining that speed of the control device during the calibration period did not exceed a speed threshold comprises: determining a third data stream indicating user acceleration relative to gravity based on the first data stream indicating user acceleration relative to the control device and the second data streaming indicating gravity acceleration relative to the control device; determining a fourth data stream indicating speed of the control device during the calibration period by determining a magnitude of an integral of the third data stream indicating user acceleration relative to gravity; and determining that the fourth data stream indicates that speed of the control device during the calibration period did not exceed the speed threshold.
 10. A method comprising: receiving, by a computing device, motion data indicating movement of a recording device while the recording device was recording a calibration sound emitted by one or more playback devices in a given environment during a calibration period; determining, by the computing device, that sufficient vertical translation of the recording device occurred during the calibration period; determining, by the computing device, that sufficient horizontal translation of the recording device occurred during the calibration period; and sending, by the computing device to one or more playback devices, a message indicating that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions.
 11. The method of claim 10, wherein determining that sufficient horizontal translation of the recording device occurred during the calibration period comprises: identifying a first component of the motion data that indicates movement of the recording device in a vertical direction and one or more second components of the motion data that indicates movement of the recording device in respective radial directions from the one or more playback devices; determining one or more horizontal-motion parameters representing motion of the recording device in a horizontal direction through the environment by cross-correlating the first component of the motion data indicating movement of the recording device in a vertical direction with the one or more second components of the motion data indicating movement of the recording device in respective radial directions from the one or more playback devices; and determining that sufficient horizontal translation of the recording device occurred during the calibration period by determining that at least one of the horizontal motion parameters representing motion in the horizontal direction through the environment exceeds a correlation threshold.
 12. The method of claim 10, wherein determining that sufficient vertical translation of the recording device occurred during the calibration period comprises: determining a vertical motion parameter representing a mean of the motion data in a vertical direction; and determining that sufficient vertical translation of the recording device occurred during the calibration period by determining the vertical motion parameter exceeds a vertical-motion threshold.
 13. The method of claim 12, wherein determining the vertical motion parameter representing the mean of the motion data in the vertical direction comprises: as motion data indicating movement of the recording device during the calibration period is received, repeatedly updating the vertical motion parameter representing the mean of the motion data in the vertical direction based on the accrued motion data.
 14. The method of claim 10, further comprising: determining that speed of the recording device during the calibration period did not exceed a speed threshold, wherein sending the message indicating that sufficient translation of the recording device occurred during the calibration period comprises sending a message indicating that the sufficient translation of the recording device did not exceed the speed threshold.
 15. The method of claim 14, wherein receiving motion data indicating movement of a recording device while the recording device detected a calibration sound emitted by one or more playback devices in a given environment during a calibration period comprises receiving sensor data including a first data stream indicating user acceleration relative to the recording device and a second data stream indicating gravity acceleration relative to the recording device, and wherein determining that speed of the recording device during the calibration period did not exceed a speed threshold comprises: determining a third data stream indicating user acceleration relative to gravity based on the first data stream indicating user acceleration relative to the recording device and the second data streaming indicating gravity acceleration relative to the recording device; determining a fourth data stream indicating speed of the recording device during the calibration period by determining a magnitude of an integral of the third data stream indicating user acceleration relative to gravity; and determining that the fourth data stream indicates that speed of the recording device during the calibration period did not exceed the speed threshold.
 16. The method of claim 10, further comprising: determining respective calibration profiles for at least one of the one or more playback devices based on the recorded calibration sound, and wherein sending the message indicating that sufficient translation of the recording device occurred during the calibration period comprises sending a message instructing the at least one playback device to calibrate using the determined calibration profile.
 17. The method of claim 10, wherein the computing device comprises the recording device.
 18. A recording device comprising: a microphone; one or more processors; a tangible data storage having stored therein instructions executable by the one or more processors to cause the recording device to perform operations comprising: receiving an indication that a playback device is emitting a calibration sound in a given environment during a calibration period; recording, via the microphone, sound data that includes the emitted calibration sound and receiving motion data indicating movement of the recording device during emission of the calibration sound; determining that sufficient vertical translation of the recording device occurred during the calibration period; determining that sufficient horizontal translation of the recording device occurred during the calibration period; and based on determining that sufficient translation of the recording device occurred during the calibration period in vertical and horizontal directions, applying a calibration based on the detected calibration sound to an audio stage of the playback device.
 19. The recording device of claim 18, wherein determining that sufficient horizontal translation of the recording device occurred during the calibration period comprises: identifying a first component of the motion data that indicates movement of the recording device in a vertical direction and a second component of the motion data that indicates movement of the recording device in a radial direction from the playback device; determining a horizontal-motion parameter representing motion of the recording device in a horizontal direction through the environment by cross-correlating the first component of the motion data indicating movement of the recording device in a vertical direction with the second component of the motion data indicating movement of the recording device in a radial direction from the playback device; determining that sufficient horizontal translation of the recording device occurred during the calibration period by determining that the horizontal motion parameter representing motion in the horizontal direction through the environment exceeds a correlation threshold.
 20. The recording device of claim 18, wherein determining that sufficient vertical translation of the recording device occurred during the calibration period comprises: determining a vertical motion parameter representing a mean of the motion data in a vertical direction; and determining that sufficient vertical translation of the recording device occurred during the calibration period by determining the vertical motion parameter exceeds a vertical-motion threshold. 